package com.easyboot.enums;

/**
 * @author yushuo
 * @className
 * @descripton TODO
 * @date 2021/2/4 14:00
 **/
public enum DataStatusEnum {
    ENABLE(1, "正常"),
    DISABLE(0, "停用"),
    DELETED(1, "删除"),
    NOT_DELETED(0, "正常"),
    SUPER(1,"超管"),
    NOT_SUPER(0,"普通"),
    COMPANY(0,"公司"),
    DEPARTMENT(1,"部门"),
    MALE(1,"男"),
    FEMALE(0,"女"),
    GENDER_UNKNOWN(2,"未知");
    private final Integer code;
    private final String info;

    DataStatusEnum(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
